presentation
Class ListenIdentification
java.lang.Object
presentation.ListenIdentification
- All Implemented Interfaces:
- java.awt.event.ActionListener, java.util.EventListener
public class ListenIdentification
- extends java.lang.Object
- implements java.awt.event.ActionListener
Class ListenCreationChampionnat
Package presentation
Gestion de l'identification des utilisateurs via l'IHM
- Author:
- Hervé Le Fouler et Lionel Lasry
|
Method Summary |
void |
actionPerformed(java.awt.event.ActionEvent evt)
Méthode implémenté par ActionListener
On récupère les textes saisis dans les textfields
On les compare avec les utilisateurs enregistrés
Si l'utilisateur existe, on rends les JPanel des championnats visibles
Sinon on envoie un message d'erreur à l'utilisateur |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
local
public java.util.Locale local
bundle
public java.util.ResourceBundle bundle
momTextFieldLogin
private javax.swing.JTextField momTextFieldLogin
momTextFieldPasse
private javax.swing.JTextField momTextFieldPasse
zoneCreationChampionnats
private Ihm.ZoneCreationChampionnat zoneCreationChampionnats
zoneGestionChampionnats
private Ihm.ZoneGestionChampionnats zoneGestionChampionnats
zoneCreationLogin
private Ihm.EcranLogin zoneCreationLogin
fenetre
private javax.swing.JFrame fenetre
ListenIdentification
public ListenIdentification(javax.swing.JFrame fenetre,
javax.swing.JTextField momTextFieldLogin,
javax.swing.JTextField momTextFieldPasse,
Ihm.ZoneCreationChampionnat zoneCreationChampionnats,
Ihm.ZoneGestionChampionnats zoneGestionChampionnats,
Ihm.EcranLogin zoneCreationLogin)
- Constructeur de ListenCreationChampionnat
- Parameters:
JFrame - fenetre : la fenetre actuelleJTextField - momTextFieldLogin : Le champ texte qui contient l'identifiantJTextField - momTextFieldPasse : Le champ texte qui contient le mot de passeZoneCreationChampionnat - zoneCreationChampionnats : Le JPanel de creation des championnatsZoneCreationChampionnat - zoneCreationChampionnats : Le JPanel de gestion des championnatsEcranLogin - zoneCreationLogin : Le Jpanel d'identification
actionPerformed
public void actionPerformed(java.awt.event.ActionEvent evt)
- Méthode implémenté par ActionListener
On récupère les textes saisis dans les textfields
On les compare avec les utilisateurs enregistrés
Si l'utilisateur existe, on rends les JPanel des championnats visibles
Sinon on envoie un message d'erreur à l'utilisateur
- Specified by:
actionPerformed in interface java.awt.event.ActionListener
- Parameters:
ActionEvent - evt